﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DomainModel.Concrete;

namespace DomainModel
{
    public static class Repositories
    {
        public static UserRepository UserRepository { get; private set; }
        public static VUserRepository VUserRepository { get; private set; }
        public static OrderRepository OrderRepository { get; private set; }
        public static VOrderRepository VOrderRepository { get; private set; }
        public static DetailRepository DetailRepository { get; private set; }
        public static StatusRepository StatusRepository { get; private set; }
       
        
        public static void Init()
        {
            UserRepository = new UserRepository();
            VUserRepository = new VUserRepository();
            OrderRepository = new OrderRepository();
            VOrderRepository = new VOrderRepository();
            DetailRepository = new DetailRepository();
            StatusRepository = new StatusRepository();
        }
    }

}
